home *** CD-ROM | disk | FTP | other *** search
/ Celestin Apprentice 2 / Apprentice-Release2.iso / Source Code / Think Class Libraries / Item Class / Item headers / ResourceStructs.h < prev   
Encoding:
C/C++ Source or Header  |  1994-11-30  |  675 b   |  36 lines  |  [TEXT/KAHL]

  1. /******************************************************************************
  2.  ResourceStructs.h
  3.  
  4.             
  5.     Copyright © 1991 Symantec Corporation. All rights reserved.
  6.     
  7.     Contains structure definitions used by CBrowseResDoc and
  8.     other classes.
  9.  
  10.  ******************************************************************************/
  11.  
  12. #define _H_ResourceStructs
  13.  
  14. class CDirector;
  15.  
  16.     // Information about a resource type
  17.  
  18. typedef struct tResTypeInfo
  19. {
  20.     ResType        type;
  21.     Boolean        editable;
  22.     CDirector    *window;
  23.     
  24. } tResTypeInfo;
  25.  
  26.     //    Information about a resource
  27.  
  28. typedef struct tResourceInfo
  29. {
  30.     short        ID;
  31.     long        size;
  32.     Handle        resource;
  33.     Str255        name;
  34.     CDirector    *window;
  35.  
  36. } tResourceInfo;